package com.lcf.system.entity;

import com.lcf.framework.model.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 点赞(MoviePrize)表实体类
 *
 * @author lcf
 * @since 2025-05-07 22:23:23
 */
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@Data
public class MoviePrize extends BaseModel<MoviePrize> {
    //用户id
    private Long userId;
    //电影id
    private Long movieId;
    //是否点赞1是0否
    private Integer isPrize;

    public MoviePrize(long userId, long movieId) {
        this.userId = userId;
        this.movieId = movieId;
        this.isPrize = 1;
    }
}

